<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::Classifier&lt; Model &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_classifier.html">Classifier</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_classifier-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::Classifier&lt; Model &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Conversion of real-valued or vector valued outputs to class labels.  
 <a href="classshark_1_1_classifier.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_classifier_8h_source.html">shark/Models/Classifier.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::Classifier&lt; Model &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_classifier__inherit__graph.png" border="0" usemap="#ashark_1_1_classifier_3_01_model_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_classifier_3_01_model_01_4_inherit__map" id="ashark_1_1_classifier_3_01_model_01_4_inherit__map">
<area shape="rect" title="Conversion of real&#45;valued or vector valued outputs to class labels." alt="" coords="282,13,406,54"/>
<area shape="rect" href="classshark_1_1_linear_classifier.html" title="Basic linear classifier." alt="" coords="454,13,605,54"/>
<area shape="poly" title=" " alt="" coords="421,31,454,31,454,36,421,36"/>
<area shape="rect" href="classshark_1_1_abstract_model.html" title=" " alt="" coords="5,5,234,61"/>
<area shape="poly" title=" " alt="" coords="249,31,281,31,281,36,249,36"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a8ce1b873de955920b900779bf02c719e" id="r_a8ce1b873de955920b900779bf02c719e"><td class="memItemLeft" align="right" valign="top">typedef Model&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a8ce1b873de955920b900779bf02c719e">DecisionFunctionType</a></td></tr>
<tr class="separator:a8ce1b873de955920b900779bf02c719e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33186c46c8fb9472d9e2c219be2c66f4" id="r_a33186c46c8fb9472d9e2c219be2c66f4"><td class="memItemLeft" align="right" valign="top">typedef Model::InputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">InputType</a></td></tr>
<tr class="separator:a33186c46c8fb9472d9e2c219be2c66f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15d0b8ab148d1ea83bee0573213d8f9e" id="r_a15d0b8ab148d1ea83bee0573213d8f9e"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a15d0b8ab148d1ea83bee0573213d8f9e">OutputType</a></td></tr>
<tr class="separator:a15d0b8ab148d1ea83bee0573213d8f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56c82feb436eb83115298ba4fd0c89e" id="r_ae56c82feb436eb83115298ba4fd0c89e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#ae56c82feb436eb83115298ba4fd0c89e">BatchInputType</a></td></tr>
<tr class="separator:ae56c82feb436eb83115298ba4fd0c89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a997346948fcd63ecfee7be139637c2be" id="r_a997346948fcd63ecfee7be139637c2be"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; unsignedint &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a997346948fcd63ecfee7be139637c2be">BatchOutputType</a></td></tr>
<tr class="separator:a997346948fcd63ecfee7be139637c2be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e36a54e9541fbc7ed0138fd91c9a6a9" id="r_a2e36a54e9541fbc7ed0138fd91c9a6a9"><td class="memItemLeft" align="right" valign="top">typedef Model::ParameterVectorType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a2e36a54e9541fbc7ed0138fd91c9a6a9">ParameterVectorType</a></td></tr>
<tr class="separator:a2e36a54e9541fbc7ed0138fd91c9a6a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model" id="r_a76a2d024b6013037b072596fe4f9f829"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> </td></tr>
<tr class="separator:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model" id="r_a714e85d7a6cd2b68898cb5dbb25c37d4"><td class="memItemLeft" align="right" valign="top">typedef Model::InputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a></td></tr>
<tr class="memdesc:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the input type of the model.  <br /></td></tr>
<tr class="separator:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model" id="r_a8e5acf043e3a76b50d15a852365801b4"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a></td></tr>
<tr class="memdesc:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the output type of the model.  <br /></td></tr>
<tr class="separator:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model" id="r_a7fccb0cdf4c0b47afbe5da03532b9b4e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a7fccb0cdf4c0b47afbe5da03532b9b4e">ModelBaseType</a></td></tr>
<tr class="memdesc:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the BaseType used by the model (this type). Useful for creating derived models.  <br /></td></tr>
<tr class="separator:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model" id="r_a518304e95092673b7b6438cace052ef6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a></td></tr>
<tr class="memdesc:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the input type.  <br /></td></tr>
<tr class="separator:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model" id="r_aa0c72e230b9a1324c95ba8ac0b07ba13"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a></td></tr>
<tr class="memdesc:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the output type  <br /></td></tr>
<tr class="separator:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model" id="r_aa6b242b73aadc63380181fdf4da1db84"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a></td></tr>
<tr class="separator:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model" id="r_a48785f538572a695c46b9eec7a4a00f3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a48785f538572a695c46b9eec7a4a00f3">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acca41eec396129e8c9859d1115d2bb65" id="r_acca41eec396129e8c9859d1115d2bb65"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#acca41eec396129e8c9859d1115d2bb65">Classifier</a> ()</td></tr>
<tr class="separator:acca41eec396129e8c9859d1115d2bb65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88985a9e17ba8ee00512dbeec74043ad" id="r_a88985a9e17ba8ee00512dbeec74043ad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a88985a9e17ba8ee00512dbeec74043ad">Classifier</a> (Model const &amp;<a class="el" href="classshark_1_1_classifier.html#adf58b2ed9969bad9828772dd23c59c02">decisionFunction</a>)</td></tr>
<tr class="separator:a88985a9e17ba8ee00512dbeec74043ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0badc4c5bfefe6e358c03ca8b115ffdf" id="r_a0badc4c5bfefe6e358c03ca8b115ffdf"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a0badc4c5bfefe6e358c03ca8b115ffdf">name</a> () const</td></tr>
<tr class="memdesc:a0badc4c5bfefe6e358c03ca8b115ffdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:a0badc4c5bfefe6e358c03ca8b115ffdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf00d04ae93bc8a05768c6c3055fe79e" id="r_aaf00d04ae93bc8a05768c6c3055fe79e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_classifier.html#a2e36a54e9541fbc7ed0138fd91c9a6a9">ParameterVectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#aaf00d04ae93bc8a05768c6c3055fe79e">parameterVector</a> () const</td></tr>
<tr class="memdesc:aaf00d04ae93bc8a05768c6c3055fe79e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the parameter vector.  <br /></td></tr>
<tr class="separator:aaf00d04ae93bc8a05768c6c3055fe79e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a884c2aea6696bd65f9f195536c05cf" id="r_a0a884c2aea6696bd65f9f195536c05cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a0a884c2aea6696bd65f9f195536c05cf">setParameterVector</a> (<a class="el" href="classshark_1_1_classifier.html#a2e36a54e9541fbc7ed0138fd91c9a6a9">ParameterVectorType</a> const &amp;newParameters)</td></tr>
<tr class="separator:a0a884c2aea6696bd65f9f195536c05cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a538027c562c81ca3520173fd0f2802" id="r_a6a538027c562c81ca3520173fd0f2802"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a6a538027c562c81ca3520173fd0f2802">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a6a538027c562c81ca3520173fd0f2802"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of parameters.  <br /></td></tr>
<tr class="separator:a6a538027c562c81ca3520173fd0f2802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad06d269ebd28e84e9eb9774f10b4c745" id="r_ad06d269ebd28e84e9eb9774f10b4c745"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#ad06d269ebd28e84e9eb9774f10b4c745">inputShape</a> () const</td></tr>
<tr class="memdesc:ad06d269ebd28e84e9eb9774f10b4c745"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the expected shape of the input.  <br /></td></tr>
<tr class="separator:ad06d269ebd28e84e9eb9774f10b4c745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a2407d446b736bb6953a467b5dc080d" id="r_a5a2407d446b736bb6953a467b5dc080d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a5a2407d446b736bb6953a467b5dc080d">outputShape</a> () const</td></tr>
<tr class="memdesc:a5a2407d446b736bb6953a467b5dc080d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the shape of the output.  <br /></td></tr>
<tr class="separator:a5a2407d446b736bb6953a467b5dc080d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae97fca135ea08ed2c8e60d01b3aad117" id="r_ae97fca135ea08ed2c8e60d01b3aad117"><td class="memItemLeft" align="right" valign="top">RealVector const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#ae97fca135ea08ed2c8e60d01b3aad117">bias</a> () const</td></tr>
<tr class="separator:ae97fca135ea08ed2c8e60d01b3aad117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9742c8125eb03f0e40281945dd98de46" id="r_a9742c8125eb03f0e40281945dd98de46"><td class="memItemLeft" align="right" valign="top">RealVector &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a9742c8125eb03f0e40281945dd98de46">bias</a> ()</td></tr>
<tr class="separator:a9742c8125eb03f0e40281945dd98de46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf58b2ed9969bad9828772dd23c59c02" id="r_adf58b2ed9969bad9828772dd23c59c02"><td class="memItemLeft" align="right" valign="top">Model const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#adf58b2ed9969bad9828772dd23c59c02">decisionFunction</a> () const</td></tr>
<tr class="memdesc:adf58b2ed9969bad9828772dd23c59c02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the decision function.  <br /></td></tr>
<tr class="separator:adf58b2ed9969bad9828772dd23c59c02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af29209184ee464261cc9b668d71ba6e1" id="r_af29209184ee464261cc9b668d71ba6e1"><td class="memItemLeft" align="right" valign="top">Model &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#af29209184ee464261cc9b668d71ba6e1">decisionFunction</a> ()</td></tr>
<tr class="memdesc:af29209184ee464261cc9b668d71ba6e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the decision function.  <br /></td></tr>
<tr class="separator:af29209184ee464261cc9b668d71ba6e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0fe007fbef4ec06e2a67ddf844f889d" id="r_aa0fe007fbef4ec06e2a67ddf844f889d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#aa0fe007fbef4ec06e2a67ddf844f889d">eval</a> (<a class="el" href="classshark_1_1_classifier.html#ae56c82feb436eb83115298ba4fd0c89e">BatchInputType</a> const &amp;input, <a class="el" href="classshark_1_1_classifier.html#a997346948fcd63ecfee7be139637c2be">BatchOutputType</a> &amp;output) const</td></tr>
<tr class="separator:aa0fe007fbef4ec06e2a67ddf844f889d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06babaf2a8d4022a2727f5654c9e9237" id="r_a06babaf2a8d4022a2727f5654c9e9237"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a06babaf2a8d4022a2727f5654c9e9237">eval</a> (<a class="el" href="classshark_1_1_classifier.html#ae56c82feb436eb83115298ba4fd0c89e">BatchInputType</a> const &amp;input, <a class="el" href="classshark_1_1_classifier.html#a997346948fcd63ecfee7be139637c2be">BatchOutputType</a> &amp;output, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="separator:a06babaf2a8d4022a2727f5654c9e9237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6efcef45c2cecbf50e2021dc1fab842c" id="r_a6efcef45c2cecbf50e2021dc1fab842c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a6efcef45c2cecbf50e2021dc1fab842c">eval</a> (<a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">InputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_classifier.html#a15d0b8ab148d1ea83bee0573213d8f9e">OutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a6efcef45c2cecbf50e2021dc1fab842c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a single pattern.  <br /></td></tr>
<tr class="separator:a6efcef45c2cecbf50e2021dc1fab842c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb5a2d1e5b06c0ef549b3e55d495cdc7" id="r_acb5a2d1e5b06c0ef549b3e55d495cdc7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#acb5a2d1e5b06c0ef549b3e55d495cdc7">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:acb5a2d1e5b06c0ef549b3e55d495cdc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:acb5a2d1e5b06c0ef549b3e55d495cdc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a580c095f6fdbb8abb438ad7af392bc77" id="r_a580c095f6fdbb8abb438ad7af392bc77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_classifier.html#a580c095f6fdbb8abb438ad7af392bc77">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a580c095f6fdbb8abb438ad7af392bc77"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:a580c095f6fdbb8abb438ad7af392bc77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b7aeb13b70c8d4cffc4958e6583627c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b7aeb13b70c8d4cffc4958e6583627c">AbstractModel</a> ()</td></tr>
<tr class="separator:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model" id="r_ad07313494d4f88c8294410d0c77d80b7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad07313494d4f88c8294410d0c77d80b7">~AbstractModel</a> ()</td></tr>
<tr class="separator:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model" id="r_a234570c3bc1f1fdf06e67ecc4751fa24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a234570c3bc1f1fdf06e67ecc4751fa24">features</a> () const</td></tr>
<tr class="separator:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model" id="r_af8cb877bb0c6b8e713e852f9057a6eae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af8cb877bb0c6b8e713e852f9057a6eae">updateFeatures</a> ()</td></tr>
<tr class="separator:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model" id="r_ae04810c1ae40f816872eba4ef3953e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ae04810c1ae40f816872eba4ef3953e36">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="memdesc:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first parameter derivative is implemented.  <br /></td></tr>
<tr class="separator:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model" id="r_a1092b50b56555e8f2e8b4d4aa57eb3c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a1092b50b56555e8f2e8b4d4aa57eb3c3">hasFirstInputDerivative</a> () const</td></tr>
<tr class="memdesc:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first input derivative is implemented.  <br /></td></tr>
<tr class="separator:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d80a74ce80e5dd5e2851c52738b86b inherit pub_methods_classshark_1_1_abstract_model" id="r_a47d80a74ce80e5dd5e2851c52738b86b"><td class="memItemLeft" align="right" valign="top">virtual boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a47d80a74ce80e5dd5e2851c52738b86b">createState</a> () const</td></tr>
<tr class="memdesc:a47d80a74ce80e5dd5e2851c52738b86b inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an internal state of the model.  <br /></td></tr>
<tr class="separator:a47d80a74ce80e5dd5e2851c52738b86b inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model" id="r_ac7edef74da55322b6aef0ba65b08592d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ac7edef74da55322b6aef0ba65b08592d">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> &amp;outputs) const</td></tr>
<tr class="memdesc:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:ac7edef74da55322b6aef0ba65b08592d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b99ab56d362609a144764922b4bd7b inherit pub_methods_classshark_1_1_abstract_model" id="r_af6b99ab56d362609a144764922b4bd7b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> &amp;outputs, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const=0</td></tr>
<tr class="memdesc:af6b99ab56d362609a144764922b4bd7b inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:af6b99ab56d362609a144764922b4bd7b inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b69168617355ebbd470caf2393a541f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b69168617355ebbd470caf2393a541f">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt; const &amp;patterns) const</td></tr>
<tr class="memdesc:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a whole dataset. This is a convenience function.  <br /></td></tr>
<tr class="separator:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model" id="r_a78b0b0517a53c93013b9372292f73a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a78b0b0517a53c93013b9372292f73a78">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model" id="r_aa10f381b3bd678c82a600c5bc6ac0ec3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa10f381b3bd678c82a600c5bc6ac0ec3">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model" id="r_ad699b6b1f813c5cc3b3ed45f254dbc1d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad699b6b1f813c5cc3b3ed45f254dbc1d">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, Model::ParameterVectorType &amp;derivative) const</td></tr>
<tr class="memdesc:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the parameters.  <br /></td></tr>
<tr class="separator:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model" id="r_a3c192dedb474c5a8e39b1f46d99f94cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3c192dedb474c5a8e39b1f46d99f94cc">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the inputs  <br /></td></tr>
<tr class="separator:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model" id="r_adb4966b597013417b5e9957c84485c8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#adb4966b597013417b5e9957c84485c8c">weightedDerivatives</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, Model::ParameterVectorType &amp;parameterDerivative, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;inputDerivative) const</td></tr>
<tr class="memdesc:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates weighted input and parameter derivative at the same time  <br /></td></tr>
<tr class="separator:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e35d1a10ff36fa72ea787baa40e9ad inherit pub_methods_classshark_1_1_i_parameterizable" id="r_ad5e35d1a10ff36fa72ea787baa40e9ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">setParameterVector</a> (<a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> const &amp;newParameters)</td></tr>
<tr class="memdesc:ad5e35d1a10ff36fa72ea787baa40e9ad inherit pub_methods_classshark_1_1_i_parameterizable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the parameter vector.  <br /></td></tr>
<tr class="separator:ad5e35d1a10ff36fa72ea787baa40e9ad inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model" id="r_a4c5a689901083e50007f53de72f694fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">m_features</a></td></tr>
<tr class="separator:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class Model&gt;<br />
class shark::Classifier&lt; Model &gt;</div><p>Conversion of real-valued or vector valued outputs to class labels. </p>
<dl class="section user"><dt></dt><dd>The <a class="el" href="classshark_1_1_classifier.html" title="Conversion of real-valued or vector valued outputs to class labels.">Classifier</a> is a model converting the real-valued vector output of an underlying decision function to a class label 0, ..., d-1 by means of an arg-max operation. The class returns the argument of the maximal input component as its output. This convertson is adjusted to interpret the output of a linear model, a neural network or a support vector machine for multi-category classification.</dd></dl>
<p>In the special case that d is 1, it is assumed that the model can be represented as a 2 d vector with both components having the same value but opposite sign. In consequence, a positive output of the model is interpreted as class 1, a negative as class 0.</p>
<p>The underlying decision function is an arbitrary model. It should be default constructable and it can be accessed using <a class="el" href="classshark_1_1_classifier.html#adf58b2ed9969bad9828772dd23c59c02" title="Return the decision function.">decisionFunction()</a>. The parameters of the <a class="el" href="classshark_1_1_classifier.html" title="Conversion of real-valued or vector valued outputs to class labels.">Classifier</a> are the ones of the decision function.</p>
<p>Optionally the model allows to set bias values which are added on the predicted values of the decision function. Thus adding positive weights on a class makes it more likely to be predicted. In the binary case with a single output, a positive weight makes class one more likely and a negative weight class 0. </p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00066">66</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ae56c82feb436eb83115298ba4fd0c89e" name="ae56c82feb436eb83115298ba4fd0c89e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae56c82feb436eb83115298ba4fd0c89e">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt;<a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">InputType</a>&gt;::type <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00077">77</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a997346948fcd63ecfee7be139637c2be" name="a997346948fcd63ecfee7be139637c2be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a997346948fcd63ecfee7be139637c2be">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt;unsignedint&gt;::type <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00078">78</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a8ce1b873de955920b900779bf02c719e" name="a8ce1b873de955920b900779bf02c719e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ce1b873de955920b900779bf02c719e">&#9670;&#160;</a></span>DecisionFunctionType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Model <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::DecisionFunctionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00074">74</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a33186c46c8fb9472d9e2c219be2c66f4" name="a33186c46c8fb9472d9e2c219be2c66f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33186c46c8fb9472d9e2c219be2c66f4">&#9670;&#160;</a></span>InputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Model::InputType <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">::InputType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00075">75</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a15d0b8ab148d1ea83bee0573213d8f9e" name="a15d0b8ab148d1ea83bee0573213d8f9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15d0b8ab148d1ea83bee0573213d8f9e">&#9670;&#160;</a></span>OutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned int <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::OutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00076">76</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a2e36a54e9541fbc7ed0138fd91c9a6a9" name="a2e36a54e9541fbc7ed0138fd91c9a6a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e36a54e9541fbc7ed0138fd91c9a6a9">&#9670;&#160;</a></span>ParameterVectorType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Model::ParameterVectorType <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::ParameterVectorType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00079">79</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="acca41eec396129e8c9859d1115d2bb65" name="acca41eec396129e8c9859d1115d2bb65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acca41eec396129e8c9859d1115d2bb65">&#9670;&#160;</a></span>Classifier() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::Classifier </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00081">81</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a88985a9e17ba8ee00512dbeec74043ad" name="a88985a9e17ba8ee00512dbeec74043ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88985a9e17ba8ee00512dbeec74043ad">&#9670;&#160;</a></span>Classifier() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::Classifier </td>
          <td>(</td>
          <td class="paramtype">Model const &amp;&#160;</td>
          <td class="paramname"><em>decisionFunction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00082">82</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9742c8125eb03f0e40281945dd98de46" name="a9742c8125eb03f0e40281945dd98de46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9742c8125eb03f0e40281945dd98de46">&#9670;&#160;</a></span>bias() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector &amp; <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::bias </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00114">114</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="ae97fca135ea08ed2c8e60d01b3aad117" name="ae97fca135ea08ed2c8e60d01b3aad117"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae97fca135ea08ed2c8e60d01b3aad117">&#9670;&#160;</a></span>bias() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector const  &amp; <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::bias </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00111">111</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_classifier.html#aa0fe007fbef4ec06e2a67ddf844f889d">shark::Classifier&lt; Model &gt;::eval()</a>, and <a class="el" href="classshark_1_1_classifier.html#a6efcef45c2cecbf50e2021dc1fab842c">shark::Classifier&lt; Model &gt;::eval()</a>.</p>

</div>
</div>
<a id="af29209184ee464261cc9b668d71ba6e1" name="af29209184ee464261cc9b668d71ba6e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af29209184ee464261cc9b668d71ba6e1">&#9670;&#160;</a></span>decisionFunction() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Model &amp; <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::decisionFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the decision function. </p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00124">124</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="adf58b2ed9969bad9828772dd23c59c02" name="adf58b2ed9969bad9828772dd23c59c02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf58b2ed9969bad9828772dd23c59c02">&#9670;&#160;</a></span>decisionFunction() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Model const  &amp; <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::decisionFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the decision function. </p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00119">119</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_svm_logistic_interpretation.html#a67444886b71f0bef297aaa3d396e6b81">shark::SvmLogisticInterpretation&lt; InputType &gt;::eval()</a>, <a class="el" href="classshark_1_1_svm_logistic_interpretation.html#aaf23373024f5c16cb6de60ee2c4fc2c8">shark::SvmLogisticInterpretation&lt; InputType &gt;::evalDerivative()</a>, <a class="el" href="logistic__regression___l_b_f_g_s_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, <a class="el" href="logistic__regression___s_a_g_8cpp.html#af86d7c9886488dc99c56ffe6e320d549">run()</a>, <a class="el" href="classshark_1_1_linear_classifier.html#a2009f9598428f1674b9ac10fcb49ef76">shark::LinearClassifier&lt; VectorType &gt;::setStructure()</a>, <a class="el" href="classshark_1_1_linear_classifier.html#abb0de810f6ea114d03217f1e9f747b41">shark::LinearClassifier&lt; VectorType &gt;::setStructure()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_kernel_s_g_d_trainer.html#a31c7513f29d280ad3165d18100962391">shark::KernelSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_perceptron.html#af69c978abe25d13d1cb79e866ef05260">shark::Perceptron&lt; InputType &gt;::train()</a>, <a class="el" href="classshark_1_1_kernel_mean_classifier.html#a81f1f20f6bedb854fab0193d3174dac2">shark::KernelMeanClassifier&lt; InputType &gt;::train()</a>, <a class="el" href="classshark_1_1_c_svm_trainer.html#a9e801518bfba9d02e0749181a5deb0fc">shark::CSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_squared_hinge_c_svm_trainer.html#a039491eb212c684d4585db0132545a85">shark::SquaredHingeCSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, <a class="el" href="classshark_1_1_c_svm_trainer.html#a5444acc9ade8ab1c3550bd2efafa4e59">shark::CSvmTrainer&lt; InputType, CacheType &gt;::train()</a>, and <a class="el" href="classshark_1_1_squared_hinge_linear_c_svm_trainer.html#a9c7df5c98dee200e4214abac74ad3bab">shark::SquaredHingeLinearCSvmTrainer&lt; InputType &gt;::train()</a>.</p>

</div>
</div>
<a id="aa0fe007fbef4ec06e2a67ddf844f889d" name="aa0fe007fbef4ec06e2a67ddf844f889d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0fe007fbef4ec06e2a67ddf844f889d">&#9670;&#160;</a></span>eval() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#ae56c82feb436eb83115298ba4fd0c89e">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#a997346948fcd63ecfee7be139637c2be">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00128">128</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">shark::batchSize()</a>, <a class="el" href="classshark_1_1_classifier.html#ae97fca135ea08ed2c8e60d01b3aad117">shark::Classifier&lt; Model &gt;::bias()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_classifier.html#a06babaf2a8d4022a2727f5654c9e9237">shark::Classifier&lt; Model &gt;::eval()</a>.</p>

</div>
</div>
<a id="a06babaf2a8d4022a2727f5654c9e9237" name="a06babaf2a8d4022a2727f5654c9e9237"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06babaf2a8d4022a2727f5654c9e9237">&#9670;&#160;</a></span>eval() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#ae56c82feb436eb83115298ba4fd0c89e">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#a997346948fcd63ecfee7be139637c2be">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00149">149</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_classifier.html#aa0fe007fbef4ec06e2a67ddf844f889d">shark::Classifier&lt; Model &gt;::eval()</a>.</p>

</div>
</div>
<a id="a6efcef45c2cecbf50e2021dc1fab842c" name="a6efcef45c2cecbf50e2021dc1fab842c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6efcef45c2cecbf50e2021dc1fab842c">&#9670;&#160;</a></span>eval() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">InputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#a15d0b8ab148d1ea83bee0573213d8f9e">OutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a single pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>the input of the model </td></tr>
    <tr><td class="paramname">output</td><td>the prediction or response of the model to the pattern </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a3a331290a6cb2840663d2178899366c8">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00153">153</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_classifier.html#ae97fca135ea08ed2c8e60d01b3aad117">shark::Classifier&lt; Model &gt;::bias()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="ad06d269ebd28e84e9eb9774f10b4c745" name="ad06d269ebd28e84e9eb9774f10b4c745"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad06d269ebd28e84e9eb9774f10b4c745">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the expected shape of the input. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a56391736859ddea5d1011d2248431b47">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00101">101</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a0badc4c5bfefe6e358c03ca8b115ffdf" name="a0badc4c5bfefe6e358c03ca8b115ffdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0badc4c5bfefe6e358c03ca8b115ffdf">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the name of the object </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p>Reimplemented in <a class="el" href="structshark_1_1_kernel_classifier.html#abbef74538d798ab544d102d5a957b1eb">shark::KernelClassifier&lt; InputType &gt;</a>, <a class="el" href="classshark_1_1_linear_classifier.html#a9bdf59bcaf5fe2ca2c29931567289953">shark::LinearClassifier&lt; VectorType &gt;</a>, and <a class="el" href="classshark_1_1_nearest_neighbor_model_3_01_input_type_00_01unsigned_01int_01_4.html#a1b6723566a8a680f0cc67dabc5524a50">shark::NearestNeighborModel&lt; InputType, unsigned int &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00085">85</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a6a538027c562c81ca3520173fd0f2802" name="a6a538027c562c81ca3520173fd0f2802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a538027c562c81ca3520173fd0f2802">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00096">96</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a5a2407d446b736bb6953a467b5dc080d" name="a5a2407d446b736bb6953a467b5dc080d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a2407d446b736bb6953a467b5dc080d">&#9670;&#160;</a></span>outputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::outputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the shape of the output. </p>
<p>For the classifier, <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> is a number representing the number of classes. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a54b8655a750489902560a5eb32ba5b4b">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00107">107</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="aaf00d04ae93bc8a05768c6c3055fe79e" name="aaf00d04ae93bc8a05768c6c3055fe79e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf00d04ae93bc8a05768c6c3055fe79e">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_classifier.html#a2e36a54e9541fbc7ed0138fd91c9a6a9">ParameterVectorType</a> <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00088">88</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="acb5a2d1e5b06c0ef549b3e55d495cdc7" name="acb5a2d1e5b06c0ef549b3e55d495cdc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb5a2d1e5b06c0ef549b3e55d495cdc7">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a11203dd6f50218e4c341a5d24ff5d543">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00172">172</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<a id="a0a884c2aea6696bd65f9f195536c05cf" name="a0a884c2aea6696bd65f9f195536c05cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a884c2aea6696bd65f9f195536c05cf">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_classifier.html#a2e36a54e9541fbc7ed0138fd91c9a6a9">ParameterVectorType</a> const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00092">92</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="logistic__regression___l_b_f_g_s_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>

</div>
</div>
<a id="a580c095f6fdbb8abb438ad7af392bc77" name="a580c095f6fdbb8abb438ad7af392bc77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a580c095f6fdbb8abb438ad7af392bc77">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Model &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_classifier.html">shark::Classifier</a>&lt; Model &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a7d3f3d4d781954dc43d6cd445a5b56b4">shark::AbstractModel&lt; Model::InputType, unsigned int, Model::ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_classifier_8h_source.html#l00177">177</a> of file <a class="el" href="_classifier_8h_source.html">Classifier.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/<a class="el" href="_classifier_8h_source.html">Classifier.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
